package cinema.web;

import cinema.dao.ActorsDao;
import cinema.model.Actors;

public class ActorsManagerImpl {
	ActorsDao actorsDao;
	
	// Setter Method for injecting the ActorsDao in applicationContext.xml
	public void setActorsDao(ActorsDao actorsDao) {
		this.actorsDao = actorsDao;
	}
	public void saveActor(Actors actor) {
		actorsDao.saveActors(actor);
	}
	/*public Actors getActorsByName(String name){
		return actorsDao.getActors(name);
	}*/
	
}
